package com.huilian.iotbox.client.service.impl;

import com.huilian.iotbox.client.dao.CommodityStockRecordDao;
import com.huilian.iotbox.client.service.CommodityStockRecordService;
import com.huilian.iotbox.data.dto.CommodityStockRecordDto;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CommodityStockRecordServiceImpl implements CommodityStockRecordService {
    @Autowired
    private CommodityStockRecordDao commodityStockRecordDao;
    @Override
    public int add(CommodityStockRecordDto commodityStockRecordDto) {
        return commodityStockRecordDao.add(commodityStockRecordDto);
    }
}
